﻿using SqlSugar;
using System;

namespace GBT.SystemEnties
{
    [SugarTable("UserXpenseTracker")]
    public class UserXpenseTracker
    {
        public UserXpenseTracker()
        {


        }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }

        /// <summary>
        /// Desc:用户ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int UserID { get; set; }

        /// <summary>
        /// Desc:食堂ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int HallID { get; set; }

        /// <summary>
        /// Desc:消费金额
        /// Default:
        /// Nullable:False
        /// </summary>           
        public decimal Value { get; set; }

        /// <summary>
        /// Desc:账户余额
        /// Default:
        /// Nullable:False
        /// </summary>           
        public decimal UserValue { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>  
        public string Remark { get; set; }

        /// <summary>
        /// Desc:
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreationDate { get; set; }
    }
}
